import {createStore} from 'vuex'
import {reactive} from "vue";

export default createStore({
    state: reactive({
        msg: "helloWorld",
        companyId: '',
        roleId: ''
    }),
    getters: {},
    mutations: {
        changeCompany: function (state, value) {
            state.companyId = value
        },
        changeRole: function (state, value) {
            state.roleId = value
        }
    },
    actions: {},
    modules: {}
})
